<?php $this->pageTitle=Yii::app()->name; ?>

<div>    
    <?php
        $testo_1 = EditablePart::model()->getByType("testo_1");        
        if($testo_1 != null)
            echo $testo_1->htmlText;
    ?>
</div>

<div style="width: 100%; height:300px;">
<?php $this->widget('bootstrap.widgets.BootSlider',
    array('itemView'=>'_list',//_lsit is the php file to render
        'id'=>'ListaAutori',//id of Carousel
              'slide'=>array(false,10000),//to slide after 2seconds   
        'dataProvider'=>$dataProvider,
        'coloumCount'=>1,//no of items to shown in slider
));?>
</div>
<div>    
    <?php
        $testo_2 = EditablePart::model()->getByType("testo_2");        
        if($testo_2 != null)
            echo $testo_2->htmlText;
    ?> 
</div>